package com.oa.pm.dto;

import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author syb
 * date 2019/1/29
 */

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "查询劳动合同列表参数对象")
public class LaborContractParamDTO extends Model<LaborContractParamDTO> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "页码  不传页码则默认查询所有")
    private Integer pageNum;

    @ApiModelProperty(value = "查询条数")
    private Integer pageSize;

    @ApiModelProperty(value = "劳动合同开始时间  yyyy-MM-dd HH:mm:ss")
    private String laborContractStartTime;

    @ApiModelProperty(value = "劳动合同结束时间  yyyy-MM-dd HH:mm:ss")
    private String laborContractEndTime;

    @ApiModelProperty(value = "试用期结束时间  yyyy-MM-dd HH:mm:ss")
    private String probationPeriodEndTime;

    @ApiModelProperty(value = "试用期结束提醒时间  yyyy-MM-dd HH:mm:ss")
    private String probationPeriodEndRemindeTime;

    @ApiModelProperty(value = "签约单位")
    private String company;

    @ApiModelProperty(value = "所属部门")
    private String department;

    @ApiModelProperty(value = "岗位")
    private String post;

    @ApiModelProperty(value = "职务")
    private String duty;

    @ApiModelProperty(value = "已签合同数")
    private Integer contractsSignedNum;

    public LaborContractParamDTO() {
    }

    @Override
    protected Serializable pkVal() {
        return this;
    }
}
